package command;

public class Client {

    public static void main(String[] args) {

        LightReceiver receiver = new LightReceiver();


        LightOnCommand onCommand = new LightOnCommand(receiver);
        LightOffCommand offCommand = new LightOffCommand(receiver);

        RemonteController controller = new RemonteController();
        controller.setCommond(0,onCommand,offCommand);

        controller.onButtonWasPushed(0);
        controller.offButtonWasPushed(0);
        controller.undoButtonWasPushed(0);




    }




}
